package com.itheima.test1;

public class Phone {
    //品牌,价格
    String brand;
    int price;
    public void call(String name){
        System.out.println("给" +name+ "打电话");
    }
    public void sendMessage(String name){
        System.out.println("给" + name+ "发短信");
    }

}
